package com.zhang.mapper;

import com.zhang.entity.TOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zbw
 * @since 2022-04-23
 */
@Mapper
public interface TOrder1Mapper extends BaseMapper<TOrder> {

    //3.查询订单与订单详情
    List<TOrder> queryOrderByUserId(long userId);
}
